package com.qfedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 作者：刘随阳
 * 时间: 2021/9/25 21:24
 * 描述：神光照耀,太白成瑞。六丙来迎,百福悠归
 */
@SpringBootApplication
@EnableDiscoveryClient  //开关，开启服务的注册与发现功能
@MapperScan(basePackages = "com.qfedu.mapper") //扫描mapper包
@EnableScheduling
public class RecommendApp {

    public static void main(String[] args) {
        SpringApplication.run(RecommendApp.class,args);
    }
}
